<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sending mail</title>
<link href="twostylish.css" rel="stylesheet" type="text/css" />
</head>
<body>

<!-- Reminder: Add the link for the 'next page' (at the bottom) -->
<!-- Reminder: Change 'YourEmail' to Your real email -->
<div class="maincontent">
<br />
<br />
<blockquote>
<?php

$ip = $_POST['ip'];
$httpref = $_POST['httpref'];
$httpagent = $_POST['httpagent'];
$visitor = $_POST['visitor'];
$visitormail = $_POST['visitormail'];
$notes = $_POST['notes'];
$attn = $_POST['attn'];
$phone = $_POST['phone'];
$company = $_POST['company'];



if (eregi('http:', $notes)) {
die ("Do NOT try that! ! ");
}



$todayis = date("l, F j, Y, g:i a") ;

$attn = $attn ;
$subject = $attn;

$notes = stripcslashes($notes);

$message = " $todayis [EST] \n
Attention: $attn \n
Message: $notes \n
Phone: $phone \n
Company: $company \n
From: $visitor ($visitormail)\n
Additional Info : IP = $ip \n
Browser Info: $httpagent \n
Referral : $httpref \n
";

$from = "From: $visitormail\r\n";


mail("about@nexusstar.name", 'geoexplorer mailer', $message, $from);
header( "Location: thank_you.html" );
?>

<p align="center">
Date: <?php echo $todayis ?>
<br />
<h4>Thank You : </h4><?php echo $visitor ?> ( <?php echo $visitormail ?> )
<br />
<h4>Company :</h4> <?php echo $company ?>
<br />
<h4>Phone :</h4> <?php echo $phone ?>
<br />


<h4>Message:</h4><br />
<?php $notesout = str_replace("\r", "<br/>", $notes);
echo $notesout; ?>
<br />

<br /><br />
</p>
</blockquote>
<h3>
<a href="contact.html"> Send us another message </a>
</h3>
</div>

</body>
</html>